<?php echo $this->fetch('member.header.html'); ?>
<link href="<?php echo $this->res_base . "/" . 'css/lcj_cart_order.css'; ?>" rel="stylesheet" type="text/css" />
<div class="content_color">
<div class="content">

<div class="cashier">
  <div class="order_info">
  <h2 style="border:0">订单编号：<strong><a href="index.php?app=my_kdorder&act=view&order_id=<?php echo $this->_var['order']['order_id']; ?>" target="_blank"><?php echo $this->_var['order']['order_sn']; ?></a></strong> <p>应付金额：<STRONG><?php echo $this->_var['order']['totalfei']; ?></STRONG>美元</p></h2>
  </div>
 <div class="xx_list" style="padding:50px">
  <DIV class=mscz>
    <h4>核对无误，确认支付</h4>
    <p>待付款总额为：<b><?php echo $this->_var['order']['totalfei']; ?></b> 美元，&nbsp;&nbsp;可支付余额为：<EM><?php echo $this->_var['my_money']['money']; ?></EM> 美元</p>
    <?php if ($this->_var['my_money']['balance_payment'] == 'ok'): ?>
    <form action="index.php?app=my_kdorder&act=payment&order_id=<?php echo $this->_var['order']['order_id']; ?>" method="POST" onsubmit="return yue_check_input();">
    <p style="border-top:1px #CCC dotted; margin-top:8px;padding:8px 0 0 85px;width:300px">使用帐户余额支付 <b><?php echo $this->_var['order']['totalfei']; ?></b> 美元</p>
    <p>我的支付密码：
       <?php if ($this->_var['my_money']['zf_pass']): ?>
       <input name="password" type="password" class="text_small" id="password"/>
       <INPUT class="balance_payment_btn" type=submit value="确认付款" name="submit">
       &nbsp;&nbsp;<a href="index.php?app=my_money&amp;act=account_security" target="_blank">忘记密码？</a>
       <?php else: ?>
       您还没设置支付，请先<a href="index.php?app=my_money&amp;act=setpaypassword" target="_blank">设置支付密码</a>，如果已经设置完成支付宝密码，请<a href="javascript:window.location.reload();" target="_blank">刷新</a>。
       <?php endif; ?>
    </p>
    </form>
    <?php else: ?>
      <p style="font-size:16px;padding-top:10px;">抱歉！您的帐户余额不足，还差 <?php echo $this->_var['my_money']['differ_amount']; ?> 美元，您可以先充值后再付款。<br />
        <a href="index.php?app=my_money&act=remit_alipay">马上去充值</a></p>
    <?php endif; ?>   
  </DIV>
  <UL class=ycts style="width:100%;margin-top:25px;overflow:hidden"><B>友情提示：</B> 
  <LI>如果余额不足时，请先<A href="index.php?app=my_money&amp;act=remit_alipay" target="_blank">充值</A>到收银台再到"<a href="<?php echo url('app=my_kdorder&status=3'); ?>" target="_blank">待付款运单</a>"支付运单</LI>
  <LI>如果在支付过程中遇到任何问题请联系在线解决。</LI>
  </UL>
  </div>
</div>

</div>
</div>
<?php echo $this->fetch('footer_member.html'); ?>